package com.zhihui.online.service.impl;

import com.alipay.api.domain.CategoryDTO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zhihui.online.dto.category.CategoryQueryDTO;
import com.zhihui.online.dto.category.CategoryUpdateDTO;
import com.zhihui.online.entity.Category;
import com.zhihui.online.mapper.CategoryMapper;
import com.zhihui.online.service.CategoryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhihui.online.vo.CategoryVO;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * 课程分类表 服务实现类
 * </p>
 *
 * @author 程序员阿良,21岁纯情后爸,懒得想名字
 * @since 2024-08-01
 */
@Service
@Transactional
public class CategoryServiceImpl extends ServiceImpl<CategoryMapper, Category> implements CategoryService {

    @Override
    public IPage<CategoryVO> seletPage(IPage<CategoryVO> page1, CategoryQueryDTO categoryQueryDTO) {
        return this.baseMapper.selectPage(page1, categoryQueryDTO);
    }


}
